import { NgModule } from "@angular/core";
import { RouterModule, Routes } from "@angular/router";
import { NzTableModule } from 'ng-zorro-antd/table';
import { BaseModule } from "@/app/modules/base.module";

import { ToDoComponent } from "./todos/todo.component";
import { DetailComponent } from "./details/detail.component";

const routes: Routes = [
  { path: 'todos', component: ToDoComponent },
  { path: ':processId/:bizFormId/detail', component: DetailComponent }
];

@NgModule(
  {
    imports: [
      BaseModule,
      RouterModule,
      RouterModule.forChild(routes)
    ],
    declarations: [ToDoComponent, DetailComponent],
    exports: [RouterModule],
  }
)
export class iWorkflowModule {

}